using AutoMapper;

namespace Joy.Erp.BasicArchives.Procurements
{
    public class PurchaseRequisitionTypeAutoMapperProfile : Profile
    {
        public PurchaseRequisitionTypeAutoMapperProfile()
        {
            CreateMap<PurchaseRequisitionType, PurchaseRequisitionTypeDto>().MapExtraProperties().ReverseMap();
            CreateMap<PurchaseRequisitionType, PurchaseRequisitionTypeCreateDto>().MapExtraProperties().ReverseMap();
            CreateMap<PurchaseRequisitionType, PurchaseRequisitionTypeUpdateDto>().MapExtraProperties().ReverseMap();
        }
    }
} 